<!doctype html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>DGPT4537 Assignment3 - Hockey Heroes</title>
    <!-- 引入Bootstrap CSS -->
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet">
    <style>
        body {
            margin: 0;
            padding-top: 60px; /* 确保内容不会被固定的导航栏覆盖 */
            font-family: 'Arial', sans-serif;
            background-color: #f8f9fa;
            color: #333;
        }
        main {
            padding: 20px;
            min-height: calc(100vh - 80px); /* 确保主要内容区域至少填满整个视窗高度 */
            background: url('https://example.com/ice-rink.jpg') no-repeat center center fixed;
            background-size: cover;
            background-blend-mode: multiply;
            background-color: rgba(255, 255, 255, 0.8);
        }
        .container {
            max-width: 960px;
            margin: auto;
            background-color: rgba(255, 255, 255, 0.9);
            padding: 20px;
            border-radius: 10px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        }
        h1 {
            font-size: 36px;
            margin-bottom: 10px;
            color: #333;
        }
        p {
            font-size: 18px;
            margin-bottom: 20px;
            color: #555;
        }
        .button {
            background: linear-gradient(135deg, #ff6f61, #ec407a);
            color: #fff;
            padding: 10px 20px;
            border: none;
            border-radius: 5px;
            font-size: 18px;
            cursor: pointer;
            text-decoration: none;
            display: inline-block;
            transition: transform 0.2s ease, box-shadow 0.2s ease;
        }
        .button:hover {
            transform: scale(1.05);
            box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
        }
        img {
            width: 100%;
            max-width: 600px;
            margin-top: 20px;
            border-radius: 8px;
        }
        footer {
            padding: 20px 0;
            text-align: center;
            background-color: #333;
            color: #fff;
            margin-top: 40px;
            border-top: 1px solid #444;
        }
        footer a {
            color: #fff;
            text-decoration: none;
        }
        footer a:hover {
            text-decoration: underline;
        }
    </style>
</head>
<body>
    <!-- 使用Bootstrap的导航栏 -->
    <nav class="navbar navbar-expand-lg navbar-dark bg-dark fixed-top">
        <div class="container-fluid">
            <a class="navbar-brand" href="#">Hockey Heroes</a>
            <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
                <span class="navbar-toggler-icon"></span>
            </button>
            <div class="collapse navbar-collapse" id="navbarNav">
                <ul class="navbar-nav ms-auto">
                    <li class="nav-item">
                        <a class="nav-link active" aria-current="page" href="/home">Home</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link" href="/hockey">Heroes</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link" href="/hockey/create">Create</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link" href="/info">Info</a>
                    </li>
                </ul>
            </div>
        </div>
    </nav>

    <main>
        <div class="container">
            <h1>Welcome to my list of Hockey Heroes!</h1>
            <p>Behold the legends that skate across the frozen stage of history. Discover the information of those who've scored the most memorable goals and left a blazing trail on the ice.</p>
            <a href="/hockey" class="btn button">View the Heroes</a>
        </div>
    </main>

    <footer>
        <div class="container">
            <p>&copy; 2024 DGPT4537 Assignment3. All rights reserved. | 
               <a href="/privacy">Privacy Policy</a> |
               <a href="/terms">Terms of Service</a>
            </p>
        </div>
    </footer>

    <!-- 引入Bootstrap JS和依赖 -->
    <script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.11.6/dist/umd/popper.min.js"></script>
    <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script>
</body>
</html>